package com.ruoyi.activity.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class ImportUserTemplateRequest extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 账号
     */
    @Excel(name = "账号")
    private String account;

    /**
     * 用户真实姓名
     */
    @Excel(name = "姓名")
    private String userName;


    /**
     * 身份
     */
    @Excel(name = "身份")
    private String identity;

    /**
     * 学校
     */
    @Excel(name = "学校")
    private String school;

    /**
     * 报名组别
     */
    @Excel(name = "报名组别")
    private String enrollmentGroup;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedTime;


    public void setAccount(String account) {
        this.account = account;
    }

    public String getAccount() {
        return account;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserName() {
        return userName;
    }

    public void setIdentity(String identity) {
        this.identity = identity;
    }

    public String getIdentity() {
        return identity;
    }

    public void setSchool(String school) {
        this.school = school;
    }

    public String getSchool() {
        return school;
    }

    public void setEnrollmentGroup(String enrollmentGroup) {
        this.enrollmentGroup = enrollmentGroup;
    }

    public String getEnrollmentGroup() {
        return enrollmentGroup;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("account", getAccount())
                .append("userName", getUserName())
                .append("identity", getIdentity())
                .append("school", getSchool())
                .append("enrollmentGroup", getEnrollmentGroup())
                .append("createdTime", getCreatedTime())
                .append("updatedTime", getUpdatedTime())
                .toString();
    }
}
